cmake_minimum_required(VERSION 3.5)

project (network_example)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

add_executable(bemfa bemfa.c)
add_executable(bemfa_mqtt bemfa_mqtt.c)
target_link_libraries(bemfa_mqtt paho-mqtt3c)

add_executable(base64 base64.c)
add_executable(http_client http_client.c)
add_executable(httpd httpd.c)
add_executable(pop3_client pop3_client.c)
add_executable(smtp_client smtp_client.c)
add_executable(smtp_client2 smtp_client2.c)
add_executable(urlencode urlencode.c)
add_executable(epoll_server epoll_server.c)
